package com.example.demo.facade;

public class FacadeClient {
    private BedRoom bedRoom=new BedRoom();
    private LivingRoom livingRoom=new LivingRoom();
    private HallRoom hallRoom=new HallRoom();


    public void on(){
        bedRoom.on1();
        livingRoom.on1();
        hallRoom.on1();
    }


    public void off(){
        bedRoom.off();
        livingRoom.off();
        hallRoom.off();
    }
}
